# @Author:      me
# 文件创建日期:    2023-07-05 13:36
# 当前文件:       workspace/test.py
total = 0
num = 1

while num <= 1000:
    total += num
    num += 1

print(total)




